package rotuer

import (
	"dev-sys/handlers"
	"github.com/gin-gonic/gin"
)

func Init() *gin.Engine {

	r := gin.Default()

	r.POST("add", handlers.Add)
	r.GET("list", handlers.List)

	return r
}
